package com.zxx.ssm.model.biz;

import com.zxx.ssm.dao.TeacherApplicationClass;
import com.zxx.ssm.util.DateUtils;

import java.util.Date;

public class TeaAppBiz extends TeacherApplicationClass {
    private String teaName;

    private Date classDay;

    private String timeblockName;

    public String getTeaName() {
        return teaName;
    }

    public void setTeaName(String teaName) {
        this.teaName = teaName;
    }

    public Date getClassDay() {
        return classDay;
    }

    public void setClassDay(Date classDay) {
        this.classDay = classDay;
    }

    public String getTimeblockName() {
        return timeblockName;
    }

    public void setTimeblockName(String timeblockName) {
        this.timeblockName = timeblockName;
    }

    public String getClassInfo() {
        return DateUtils.toDateStr(classDay) + " " + timeblockName;
    }

    public String getAppTimeFormat(){
        return DateUtils.toDateStr(getApplicationTime());
    }
}
